package com.huaxin.hxmodulemqtt.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 数据点
 */
@Data
public class DataPoint {

    @Schema(description = "索引", example = "741")
    private Integer index;

    @Schema(description = "名称", example = "10004")
    private String name;

    @Schema(description = "值（字符串形式）", example = "205.23")
    private String value;  // 注意：value 是字符串类型 "205.23"，不是数字
}